package com.cq.hd.product.service;

import com.cq.hd.common.pagination.Page;
import com.cq.hd.product.api.dto.ReceiveRedPacketDto;
import com.cq.hd.product.api.dto.RedPacketStatisticsDto;
import com.cq.hd.product.api.vo.ActiveRedPacketVo;
import com.cq.hd.product.po.TbActiveRedPacketPo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 活动红包表 服务类
 * </p>
 *
 * @author mYunYu
 * @since 2023-11-23
 */
public interface TbActiveRedPacketService extends IService<TbActiveRedPacketPo> {

    Boolean receive(ReceiveRedPacketDto receiveRedPacketDto);

    Page<ActiveRedPacketVo> pageValidRedPacket(RedPacketStatisticsDto redPacketStatisticsDto);
}
